import request from '@/utils/request'  // 假设你已经配置了axios实例

export function login(data) {
  return request({
    url: '/admin/login',
    method: 'post',
    data
  })
}